.notice-banner {
  @include error-bg;
  padding: $space-s $space-m;
  font-size: 14px;
  margin: 0;

  p {
    margin: 0;
  }

  a {
    padding-left: $space-s;
    text-decoration: underline;
    cursor: pointer;
    user-select: none;

    &:hover {
      color: $gray-6;
    }

    &:active {
      color: inherit;
    }
  }

  .error-details {
    margin-top: 12px;
    p {
      font-weight: bold;
      font-size: 10px;
      margin-bottom: 3px;
    }
  }

  &.fixed {
    position: absolute;
    z-index: 1;
    top: 22px;
    left: 50%;
    max-width: 90%;
  }
}
